home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / awe2-0_1.lha / awe2-0.1 / Src / Awesime.cc < prev    next >
C/C++ Source or Header  |  1990-07-09  |  685b  |  34 lines

  1. // This may look like C code, but it is really -*- C++ -*-
  2. // 
  3. // Copyright (C) 1988 University of Illinois, Urbana, Illinois
  4. // Copyright (C) 1989 University of Colorado, Boulder, Colorado
  5. // Copyright (C) 1990 University of Colorado, Boulder, Colorado
  6. //
  7. // written by Dirk Grunwald (grunwald@foobar.colorado.edu)
  8. //
  9. #include "Awesime.h"
  10. #include "assert.h"
  11.  
  12. bool
  13. Awesime::debug() {
  14.     return(debugFlag);
  15. }
  16.  
  17. bool
  18. Awesime::debug(bool x)
  19. {
  20.     bool tmp = debugFlag;
  21.     debugFlag = x;
  22.     return (tmp);
  23. }
  24.  
  25. void Awesime::classPrintOn(ostream&)
  26. {
  27.     assert( SubClassResponsibility );
  28. }
  29.  
  30. void Awesime::subClassResponsibility(char *name)
  31. {
  32.     assert2( SubClassResponsibility, name );
  33. }
  34.